package com.wanmait.gohome.pojo;

import java.io.Serializable;
import java.util.Date;

public class Credit implements Serializable {
    /**
	* 表id
	*/
    private Integer id;

    /**
	* 标题
	*/
    private String title;

    /**
	* 加的分数
	*/
    private Integer point;

    /**
	* 关联用户表
	*/
    private Integer userinfoId;

    /**
	* 加分时间
	*/
    private Date inputTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getPoint() {
        return point;
    }

    public void setPoint(Integer point) {
        this.point = point;
    }

    public Integer getUserinfoId() {
        return userinfoId;
    }

    public void setUserinfoId(Integer userinfoId) {
        this.userinfoId = userinfoId;
    }

    public Date getInputTime() {
        return inputTime;
    }

    public void setInputTime(Date inputTime) {
        this.inputTime = inputTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", title=").append(title);
        sb.append(", point=").append(point);
        sb.append(", userinfoId=").append(userinfoId);
        sb.append(", inputTime=").append(inputTime);
        sb.append("]");
        return sb.toString();
    }
}